package org.sample.ams.domain.entity;

import javax.persistence.Column;
import javax.persistence.Entity;

import org.wisdom.data.jpa.entity.BaseEntity;

import lombok.*;
import lombok.extern.slf4j.Slf4j;

/**
 * 职工
 *
 * @author 张智研
 * @date 2025/05/14 15:49
 */
@EqualsAndHashCode(callSuper = true)
@Entity
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString(callSuper = true)
@Slf4j
public class AmsWorkers extends BaseEntity {

    @Column
    private String name;
    @Column
    private String sex;
    @Column
    private String birthday;
    @Column
    private String nationality;
    @Column
    private String no;
    @Column
    private String school;
    @Column(nullable = false)
    private String reportId;
    @Column(nullable = false)
    private String url;
}
